[{
    "labels": [{"key": "name", "value": "l7-rule"}],
    "endpointSelector": {"matchLabels":{"id":"web-server"}},
    "ingress": [{
        "fromEndpoints": [
            {"matchLabels":{"id":"goodclient"}}
        ],
        "toPorts": [{
            "ports": [{"port": "8181", "protocol": "TCP"}],
            "rules": {
                "http": [{
                    "method": "GET",
                    "path": "/public"
                }]
            }
        }]
    }]
}]
